home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group93b.txt
/
000133_icon-group-sender _Mon Jun 7 17:49:10 1993.msg
< prev
next >
Wrap
Internet Message Format
|
1993-06-16
|
2KB
Received: from owl.CS.Arizona.EDU by cheltenham.CS.Arizona.EDU; Sun, 13 Jun 1993 13:23:25 MST
Received: by owl.cs.arizona.edu; Sun, 13 Jun 1993 13:23:24 MST
Date: 7 Jun 93 17:49:10 GMT
From: agate!usenet.ins.cwru.edu!wariat.org!wariat.org!ppetto@ucbvax.Berkeley.EDU (Peter J. Petto)
Organization: Akademia Pana Kleksa, Public Access Uni* Site
Subject: Pattern-Matching Help Request
Message-Id: <1993Jun7.174910.21523@wariat.org>
Sender: icon-group-request@cs.arizona.edu
To: icon-group@cs.arizona.edu
Status: R
Errors-To: icon-group-errors@cs.arizona.edu
I'm looking for some help formulating a pattern-matching expression.
It is to be used as part of a filter I use to make Usenet news
articles more printable/readable.
I'm looking for something that will test a string for a pattern
analgous to the following regular expression:
%From [A-Za-z0-9.]\@
I'm looking to replace part of an existing Icon program which now
reads:
if match("From usenet" | "From neoucom" | "From wariat", line)
then...
with something akin to the above that will match a wider (and
unknown) set of senders such as:
From andrew@...
From upcsc4@...
From the.universal.hacker@
etcetera
(My local news software just changed and now shows the orignator of
each news article, rather than the relay-route.)
I'd appreciate any and all assistance. Thanks.
---
Peter Petto | ppetto@wariat.org
Bay Village, Ohio | 73125.617@compuserve.com